﻿using System;
using LunchCommand.Models;

namespace LunchCommand.ViewModels
{
    public class VenueChoiceViewModel
    {
        public VenueChoiceViewModel()
        {

        }

        public VenueChoiceViewModel(Venue venue, DegreeOfPreference prefer, Int32 otherUsers, Boolean isNew)
        {
            this.VenueName = venue.Name;
            this.VenueId = venue.VenueID;
            this.OtherUsers = otherUsers;
            this.Preference = prefer;
            this.IsNew = isNew;
        }

        public String VenueName { get; set; }

        public Int32 VenueId { get; set; }

        public Int32 OtherUsers { get; set; }

        public DegreeOfPreference Preference { get; set; }

        /// <summary>
        /// Gets or sets whether or not this venue is new to the user (they have not updated their prefs since it was created)
        /// </summary>
        public Boolean IsNew { get; set; }
    }
}